package messages.ticket;

import info.Ticket;
import messages.Message;

public class UpFliTicketsReqMsg extends Message {
    private String oldFlightTicketId;
    private Ticket ticket;
    public UpFliTicketsReqMsg(Ticket ticket) {
        super(MSG_TYPE.MSG_TICKET_UPDATE_REQ);
    }

    public String getOldFlightTicketId() {
        return oldFlightTicketId;
    }

    public void setOldFlightTicketId(String oldFlightTicketId) {
        this.oldFlightTicketId = oldFlightTicketId;
    }

    public Ticket getTicket() {
        return ticket;
    }

    public void setTicket(Ticket ticket) {
        this.ticket = ticket;
    }
}
